package com.hikeen.launcherx.utils;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * Author by LY
 * Email 1078410438@qq.com
 * Date on 2022/3/11.
 */
public class ChannelUtils {

    /**
     * 2853切换通道
     *
     * @param
     */
    public static void startTvWithChannel(Context mContext, Uri channelUri) {
        Intent intent = new Intent(Intent.ACTION_VIEW, channelUri);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        mContext.startActivity(intent);
    }
}
